package org.jeecg.modules.nc.mapper;

import org.jeecg.modules.nc.entity.NcMarbasclass;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.jeecg.modules.nc.vo.NcMarbasclassVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Description: 物料分类表
 * @Author: qixin-boot
 * @Date:   2021-07-06
 * @Version: V1.0
 */
public interface NcMarbasclassMapper extends BaseMapper<NcMarbasclass> {

    List<NcMarbasclassVO> queryListParentId(@Param("pid") String pid);

    Integer querycount(NcMarbasclass ncMarbasclass);
    //导出列表
    List<NcMarbasclass> queryExtList();
    //查询自己
    List<NcMarbasclass> queryTreeListParentId(@Param("pid")String pid);
}
